package com.sirun.ble.enums;

/**
 * @author : hzw
 */
public enum VehicleStatusEnum {

    COMMON_ERROR(-1, "未知", "未知"),

    DOOR_STATUS_CLOSE(0, "关", "车门上锁"),
    DOOR_STATUS_OPEN(1, "开", "车门未锁"),

    TRUNK_STATUS_CLOSE(0, "关", "后备箱关闭"),
    TRUNK_STATUS_OPEN(1, "开", "后备箱打开"),

    LEFT_LIGHT_STATUS_CLOSE(0, "关", "左转灯关"),
    LEFT_LIGHT_STATUS_OPEN(1, "开", "左转灯开"),

    RIGHT_LIGHT_STATUS_CLOSE(0, "关", "右转灯关"),
    RIGHT_LIGHT_STATUS_OPEN(1, "开", "右转灯开"),

    LEFT_FRONT_WINDOW_STATUS_CLOSE(0, "关", "左前窗关"),
    LEFT_FRONT_WINDOW_STATUS_OPEN(1, "开", "左前窗开"),

    RIGHT_FRONT_WINDOW_STATUS_CLOSE(0, "关", "右前窗关"),
    RIGHT_FRONT_WINDOW_STATUS_OPEN(1, "开", "右前窗开"),

    LEFT_REAR_WINDOW_STATUS_CLOSE(0, "关", "左后窗关"),
    LEFT_REAR_WINDOW_STATUS_OPEN(1, "开", "左后窗开"),

    RIGHT_REAR_WINDOW_STATUS_CLOSE(0, "关", "右后窗关"),
    RIGHT_REAR_WINDOW_STATUS_OPEN(1, "开", "右后窗开"),

    KEY_STATUS_OFF(0, "OFF", "钥匙OFF"),
    KEY_STATUS_ON(1, "ON", "钥匙ON"),
    KEY_STATUS_ACC(2, "ACC", "钥匙ACC"),
    KEY_STATUS_START(3, "START", "钥匙START");

    public int code;
    public String desc;
    public String detailDesc;

    VehicleStatusEnum(int code, String desc, String detailDesc) {
        this.code = code;
        this.desc = desc;
        this.detailDesc = detailDesc;
    }

}
